package org.jeecg.modules.yw.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 奖惩通知表
 * @Author: jeecg-boot
 * @Date:   2025-04-10
 * @Version: V1.0
 */
@Data
@TableName("rewardspunish")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="rewardspunish对象", description="奖惩通知表")
public class Rewardspunish implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**工人id*/
	@Excel(name = "工人id", width = 15)
    @ApiModelProperty(value = "工人id")
    @Dict(dictTable = "enterprise",dicCode = "id", dicText = "name")
    private String enterid;
    @ApiModelProperty(value = "类型")
    private String type;
	/**奖惩内容*/
	@Excel(name = "奖惩内容", width = 15)
    @ApiModelProperty(value = "奖惩内容")
    private String content;
    @Excel(name = "奖惩时间", width = 15, format = "yyyy-MM-dd HH:mm")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "奖惩时间")
    private Date rptime;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String creator;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createtime;
}
